/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package db.core.interfaces;

import core.Shop;
import java.util.Collection;

/**
 *
 * @author Anton
 */
public interface ShopDAOCore
{
    Shop getShopById(long id);

    Collection<String> searchForStringShops(String beginsWith, int maxResult);
    Collection<Shop> searchForObjectShops(String beginsWith);

    Collection<Shop> getShopsByName(String name);
    Collection<Shop> getAllShops();

    void addShop(Shop shop);
    void updateShop(Shop shop);
    void deleteShop(Shop shop);
}
